﻿<%@ Page Language="C#" MasterPageFile="~/UI/Main/Main.Master" AutoEventWireup="true" CodeBehind="DocumentsHome.aspx.cs" Inherits="OrganizedIN.UI.Document.DocumentsHome" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div id="middle_tab">
  	<div id="middle_tab_title" align="center">My Document</div>
	<div class="middle_tab_content">
<br />
		<h4>You can Add, Search, Add Priority, Add Rating, Re-Name, Re-Date (Add to a future Date), Delete, Archive, and Share with your Group by clicking on the below icons:</h4><br />

	</div>

	<div id="icon_link_wrapper" align="center">
    
		<div id="icon_primary_documents" align="center"><a href="Add_New_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Add New','','../../images/add_02.jpg',1)"><img src="../../images/add_01.jpg" alt="Add New" alt="Add New" id="Img1" /></a></div>
		
				
		<div id="icon_secondary" align="center"><a href="Search_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Search','','../../images/search_02.jpg',1)"><img src="../../images/search_01.jpg" alt="Search" name="Search" width="75" height="75" border="0" id="Img2" /></a></div>
				
        <div id="icon_secondary" align="center"><a href="AddPriority_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Add Priority','','../../images/add_priority_02.jpg',1)"><img src="../../images/add_priority_01.jpg" alt="Add Priority" name="Add Priority" width="75" height="75" border="0" id="Img3" /></a></div>
		
		<div id="icon_secondary" align="center"><a href="AddRating_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Add Rating','','../../images/add_rating_01.jpg',1)"><img src="../../images/add_rating_01.jpg" alt="Add Rating" name="Add Rating" width="75" height="75" border="0" id="Img4" /></a></div>

        
        <div id="icon_secondary" align="center"><a href="Rename_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Re-Name','','../../images/rename_01.jpg',1)"><img src="../../images/rename_01.jpg" alt="Re-Name" name="Add Re-Name" width="75" height="75" border="0" id="Img5" /></a></div>		
		
        
       <div id="icon_secondary" align="center"><a href="Redate_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Re-Date','','../../images/redate_02.jpg',1)"><img src="../../images/redate_01.jpg" alt="Re-Date" name="Re-Date" width="75" height="75" border="0" id="Img6" /></a></div>
        
        <div id="icon_secondary" align="center"><a href="Share_with_group_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Share with group','','../../images/share_02.jpg',1)"><img src="../../images/share_01.jpg" alt="Share with group" name="Share with group" width="75" height="75" border="0" id="Img7" /></a></div>
        
        <div id="icon_secondary" align="center"><a href="Delete_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Delete','','../../images/delete_02.jpg',1)"><img src="../../images/delete_01.jpg" alt="Delete" name="Delete" width="75" height="75" border="0" id="Img8" /></a></div>    
        
        <div id="icon_secondary" align="center"><a href="Archive_Document.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Archive','','../../images/archive_02.jpg',1)"><img src="../../images/archive_01.jpg" alt="Archive" name="Archive" width="75" height="75" border="0" id="Img9" /></a></div>   
           
        
	</div><br /><br />


<div class="documents_table">    
	<table width="100%" border="0" cellspacing="1" cellpadding="5" align="center">
      <tr>
        <td width="7%" align="center">&nbsp;</td>
        <td width="30%"><span class="middle_text1"><strong><strong>Search by Date:<br />
            <asp:TextBox ID="textbox2" runat="server"></asp:TextBox>
            <img src="../../images/organizer_ico.gif" alt="Search by Date" longdesc="#" /></strong></strong></span></td>
       <td width="30%" align="left"><span class="middle_text1"><strong><strong>Search by Date:<br />
            <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
         </strong></strong></span></td>
         
      </tr>
      <tr bgcolor="#d8e1f3">
        <td class="middle_text1">&nbsp;</td>
        <td colspan="4" align="left"><h4><strong><asp:Label ID="lbltodaydate" runat="server" Text=""></asp:Label> (Today)</strong> ▪ <a href="#"><strong>ReDate</strong></a></h4></td>
      </tr>
      <tr bgcolor="#d8e1f3">
        <td colspan="3" align="left" style="color: #FF0000">
            <h4><strong><asp:Label ID="Label2" runat="server" Text=""></asp:Label></strong></h4>            
        </td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="1" cellpadding="5" align="center">
        <tr bgcolor="#d8e1f3">
            <td align="left" class="middle_text3">
                <asp:DataGrid ID="dgMyDocList" runat="server" AllowPaging="true" AutoGenerateColumns="false" HeaderStyle-ForeColor="Purple"
                PageSize="5" Width="100%" BorderColor="White" >
                    <ItemStyle BorderColor="White" />
                    <Columns>
                        
                        <asp:TemplateColumn HeaderStyle-Width="5%" HeaderStyle-Font-Bold="true" HeaderStyle-BackColor="#c2cee7" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <img src="../../images/document_icon.png" longdesc="#" />                                 
                            </ItemTemplate>
                        </asp:TemplateColumn>                        
                        
                        <asp:BoundColumn DataField="Doc_Summary" HeaderText="Document Name" HeaderStyle-BackColor="#c2cee7"
                         HeaderStyle-Width="50%" HeaderStyle-Font-Bold="true">
                        </asp:BoundColumn>                        
                        
                        <asp:TemplateColumn HeaderText="Action" HeaderStyle-BackColor="#c2cee7"
                        HeaderStyle-Width="30%" HeaderStyle-Font-Bold="true">
                            <ItemTemplate>
                                <asp:DropDownList ID="ddlTodoAction" runat="server" CssClass="action_list">
                                    <asp:ListItem Value="0" Text="Select your option" Selected="True"></asp:ListItem>
                                    <asp:ListItem Value="1" Text="Summary"></asp:ListItem>
                                    <asp:ListItem Value="2" Text="Download (as PDF)"></asp:ListItem>
                                    <asp:ListItem Value="3" Text="Re-Date"></asp:ListItem>
                                    <asp:ListItem Value="4" Text="Re-Name"></asp:ListItem>
                                    <asp:ListItem Value="5" Text="Archive"></asp:ListItem>
                                    <asp:ListItem Value="6" Text="Share(ed)"></asp:ListItem>
                                    <asp:ListItem Value="7" Text="Assign Priority"></asp:ListItem>
                                    <asp:ListItem Value="8" Text="Assign Rating"></asp:ListItem>
                                    <asp:ListItem Value="9" Text="Delete"></asp:ListItem>
                                </asp:DropDownList>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        
                        <asp:TemplateColumn HeaderStyle-BackColor="#c2cee7"
                        HeaderStyle-Width="30%" HeaderStyle-Font-Bold="true">
                            <ItemTemplate>
                                <asp:Button ID="btnGo" runat="server" Text="Go"/>                                
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        
                    </Columns>
                    
                    <PagerStyle Mode="NumericPages" />
                </asp:DataGrid>
            </td>
        </tr>
    </table><br /><br />
    
</div>    
</div>
</asp:Content>